package com.didi.gulimall.config;

import java.util.HashSet;
import java.util.Set;

/**
 * @Author 10626
 * @Create 2021/6/10 11:22
 */
public class RouteKeyConfig {

    private static Set<String> wareRouteKet = new HashSet<>();


    private static Set<String> memberRouteKet = new HashSet<>();


    private static Set<String> orderRouteKet = new HashSet<>();

    public RouteKeyConfig() {
        wareRouteKet.add("order.release.#");
        wareRouteKet.add("order.paysuccess.#");

        memberRouteKet.add("order.release.#");
        memberRouteKet.add("order.paysuccess.#");
    }

    public static Set<String> getWareRouteKet() {
        return wareRouteKet;
    }

    public static Set<String> getMemberRouteKet() {
        return memberRouteKet;
    }

    public static Set<String> getOrderRouteKet() {
        return orderRouteKet;
    }

}
